import { applyMiddleware, createStore,combineReducers  } from "redux";
import countReducer from './reducers/count'
import personReducer from './reducers/person'
import { thunk } from "redux-thunk";
import {composeWithDevTools} from 'redux-devtools-extension'

const allReducer = combineReducers({
    he:countReducer,
    rens:personReducer
})
const store = createStore(allReducer,composeWithDevTools(applyMiddleware(thunk)));

export default store;